/*
 * Copyright (C) 2012  E-dance Studio Harbin Institute of Technology 
 * Project:campusmobile
 * Author: 初楷博
 * Create Date: 2012-5-23下午01:54:58
 */
package hit.edance.campusmobile.chat.model;

/**   
 * Message实体
 * 
 * @Project campusmobile
 * @Package hit.edance.campusmobile.chat.model
 * @Class ChatMessage
 * @Date 2012-5-23 下午01:54:58
 * @author 初楷博
 * @version 1.0
 * @since 1.0
 */
public class ChatMessage {

	public static final int MESSAGE_FROM = 0;  //标记接收
	public static final int MESSAGE_TO = 1;    //标记发送

	private int direction;
	private String content;

	public ChatMessage(int direction, String content) {
		super();
		this.direction = direction;
		this.content = content;
	}

	public int getDirection() {
		return direction;
	}

	public void setDirection(int direction) {
		this.direction = direction;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public CharSequence getContent() {
		return content;
	}
}
